<h1>Editing borrowing</h1>

<% form_tag :action => 'update', :id => @borrowing do %>
<%= error_messages_for 'borrowing' %>

<p><label for="borrowing_borrowing_date">Borrowing date</label><br/>
<%= date_select 'borrowing', 'borrowing_date'  %></p>
<%= submit_tag "Edit" %>

<!--[eoform:borrowing]-->

<% end %>

<%= link_to 'Show', :action => 'show', :id => @borrowing %> |
<%= link_to 'Back', :action => 'list' %>
